package com.sxy.entity;

import java.util.Date;

public class Success {

	private String seckillId;
	private String userPhone;
	private int state;
	private Date createTime;
	
	//多对一
	private Seckill seckil;
		
	public String getSeckillId() {
		return seckillId;
	}
	public void setSeckillId(String seckillId) {
		this.seckillId = seckillId;
	}
	public String getUserPhone() {
		return userPhone;
	}
	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Seckill getSeckil() {
		return seckil;
	}
	public void setSeckil(Seckill seckil) {
		this.seckil = seckil;
	}
	@Override
	public String toString() {
		return "Success [seckillId=" + seckillId + ", userPhone=" + userPhone + ", state=" + state + ", createTime="
				+ createTime + "]";
	}
	
	
}
